package com.yxy.mapper;

import com.yxy.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface DepartmentMapper {
    List<Department> departmentList();
    Department getDepartmentById(Integer id);
}
